# import asyncio
# import aiohttp
#
# headers = {
#     'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36',
#
# }
# async def fetch(session,url):
# 	async with session.get(url) as response:
# 		text = await response.text()
# 		print( text)
#
# async def main():
# 	async with aiohttp.ClientSession(headers= headers) as session:
# 		r = await asyncio.gather(*[fetch(session,f'https://www.gying.si/res/mv?page={i}') for i in range(1,2)])
# 		for j in r:
# 			print(j)
#
# asyncio.run(main())

import requests

cookies = {
    'PHPSESSID': 'dggsp5fk288rn9e95pspquqhj1',
    'BT_auth': '144cgz3Q2fCECQUpdgxonB8hFJNXkGwMHUDPr-03OYqpFBysGq3gQ0G80IeWuG1JkAaSCIMzZuMOBgXXSRrNjKHIlWOmBffLQ-AQOyHTaEW_q3INqA7lKUZ-Lje7r0fBaxggq2blqmQi4PHKVwrXZNLalJGBsDchdjqzjh4TJNj9I64c2ngKYGZDrrsJrmI',
    'BT_cookietime': '51db47iBCtTv4t-Q0MYEaJd03BmsrbmjINxxVKHjKuLGlNmgx4CE',
}

headers = {
    'accept': '*/*',
    'accept-language': 'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7',
    'cache-control': 'no-cache',
    'pragma': 'no-cache',
    'priority': 'u=1, i',
    'referer': 'https://www.gying.si/mv?page=2',
    'sec-ch-ua': '"Chromium";v="142", "Google Chrome";v="142", "Not_A Brand";v="99"',
    'sec-ch-ua-mobile': '?0',
    'sec-ch-ua-platform': '"Windows"',
    'sec-fetch-dest': 'empty',
    'sec-fetch-mode': 'cors',
    'sec-fetch-site': 'same-origin',
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36',
    # 'cookie': 'PHPSESSID=dggsp5fk288rn9e95pspquqhj1; BT_auth=144cgz3Q2fCECQUpdgxonB8hFJNXkGwMHUDPr-03OYqpFBysGq3gQ0G80IeWuG1JkAaSCIMzZuMOBgXXSRrNjKHIlWOmBffLQ-AQOyHTaEW_q3INqA7lKUZ-Lje7r0fBaxggq2blqmQi4PHKVwrXZNLalJGBsDchdjqzjh4TJNj9I64c2ngKYGZDrrsJrmI; BT_cookietime=51db47iBCtTv4t-Q0MYEaJd03BmsrbmjINxxVKHjKuLGlNmgx4CE',
}

params = {
    'page': '2',
}

response = requests.get('https://www.gying.si/res/mv', params=params, cookies=cookies, headers=headers)
datas = response.json()['inlist']['t']
for data in datas:
    print(data)